package com.plan.dao;

import com.plan.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdminDao {
    Integer totalsUser();
    List<User> findAllUser(@Param("start")Integer start, @Param("rows") Integer rows);
    void register(User user);
    void saveUser(User user);
    User findOne(String id);
}
